package lesson18;

public class AbstractionDemos {

	public static void main(String[] args) {
	Human human = new Human();
	human.breathe();
	human.makeNoise();
	
	Mammal mammal = new Human();
	mammal.breathe();
	mammal.makeNoise();
	Mammal cat = new Cat();
	cat.breathe();
	cat.makeNoise();
	
	
	Zoo myZoo = new Zoo();
	myZoo.mammals[0] = new Cat();
	myZoo.mammals[1] = new Human();
	
	
	Mammal cat1 = new Cat();
	Mammal elephant1 = new Elephant();
	Mammal monkey1 = new Monkey();
	cat1.move("left");
	cat1.eat();
	elephant1.eat();
	elephant1.breathe();
	monkey1.eat();
	monkey1.makeNoise();
	}

}
